﻿CREATE TABLE [dbo].[AprioriInfo] (
    [SynonymID]   INT        NOT NULL,
    [EntityID]    INT        NOT NULL,
    [Probability] FLOAT (53) NOT NULL,
    CONSTRAINT [PK_AprioriInfo] PRIMARY KEY CLUSTERED ([SynonymID] ASC, [EntityID] ASC),
    CONSTRAINT [FK_AprioriInfo_Entities] FOREIGN KEY ([EntityID]) REFERENCES [dbo].[Entities] ([EntityID]) ON DELETE CASCADE ON UPDATE CASCADE
);

